package example.handler.impl;

import example.handler.TestHandler;
import example.service.TextService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

/**
 * Created by snksnk1091 on 2017/7/30.
 */
@Component
public class TestHadlerImpl implements TestHandler {
    @Autowired
    private TextService textService;

    public Object test() {
        System.out.println("进入到了TestHandler");
        textService.test();
        return null;
    }
}
